Automattic\WCShipping\Fulfillments\FulfillmentsService S

Total Complexity 39
Dependencies 5
Dependents 4
Total lines 278
Lines of code 152
Logical lines of code 98
Comment lines 82
Methods 8
Properties 0

Methods 8

Method Rating Maintainability Complexity Lines of code
update_order_fulfillments()
A
43 12 50
convert_fulfillments_to_shipments_format()
S
50 6 29
convert_shipment_items_to_fulfillment_items()
S
58 6 15
build_fulfillment_items_from_shippable_order_items()
S
57 4 17
ensure_order_has_fulfillment()
S
59 4 15
extract_fulfillment_id_from_shipment()
S
66 4 8
get_order_fulfillments_as_shipments()
S
64 2 9
create_order_fulfillment()
S
65 1 9